package org.jeecg.modules.tz.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: tz_network_flow
 * @Author: jeecg-boot
 * @Date:   2024-08-26
 * @Version: V1.0
 */
@Data
@TableName("tz_network_flow")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="tz_network_flow对象", description="tz_network_flow")
public class TzNetworkFlow implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private String id;
	/**类别号*/
	@Excel(name = "类别号", width = 15)
    @ApiModelProperty(value = "类别号")
    private String typeCode;
	/**主机IP*/
	@Excel(name = "主机IP", width = 15)
    @ApiModelProperty(value = "主机IP")
    private String tzIp;
	/**端口号*/
	@Excel(name = "端口号", width = 15)
    @ApiModelProperty(value = "端口号")
    private String tzPort;
	/**对端IP*/
	@Excel(name = "对端IP", width = 15)
    @ApiModelProperty(value = "对端IP")
    private String targetIp;
	/**对端端口*/
	@Excel(name = "对端端口", width = 15)
    @ApiModelProperty(value = "对端端口")
    private String targetPort;
	/**协议*/
	@Excel(name = "协议", width = 15)
    @ApiModelProperty(value = "协议")
    private String protocol;
	/**发送包计数*/
	@Excel(name = "发送包计数", width = 15)
    @ApiModelProperty(value = "发送包计数")
    private String sendPacketNum;
	/**发送字节数*/
	@Excel(name = "发送字节数", width = 15)
    @ApiModelProperty(value = "发送字节数")
    private String sendBytesNum;
	/**接收包计数*/
	@Excel(name = "接收包计数", width = 15)
    @ApiModelProperty(value = "接收包计数")
    private String receivePacketNum;
	/**接收字节数*/
	@Excel(name = "接收字节数", width = 15)
    @ApiModelProperty(value = "接收字节数")
    private String receiveBytesNum;
	/**发送包速率*/
	@Excel(name = "发送包速率", width = 15)
    @ApiModelProperty(value = "发送包速率")
    private String sendPacketRate;
	/**发送字节速率*/
	@Excel(name = "发送字节速率", width = 15)
    @ApiModelProperty(value = "发送字节速率")
    private String sendBytesRate;
	/**接收包计速率*/
	@Excel(name = "接收包计速率", width = 15)
    @ApiModelProperty(value = "接收包计速率")
    private String receivePacketRate;
	/**接收字节速率*/
	@Excel(name = "接收字节速率", width = 15)
    @ApiModelProperty(value = "接收字节速率")
    private String receiveBytesRate;
	/**接收时间*/
	@Excel(name = "接收时间", width = 15, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "接收时间")
    private Date receiveTime;
	/**预留*/
	@Excel(name = "预留", width = 15)
    @ApiModelProperty(value = "预留")
    private String extra;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
    @TableField(exist = false)
    private String startTime;
    @TableField(exist = false)
    private String endTime;
}
